package com.example.dingtalkwebproject.service.impl;

import com.example.dingtalkwebproject.mapper.StoredProceduresMapper;
import com.example.dingtalkwebproject.service.StoredProceduresService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StoredProceduresServicelmpl implements StoredProceduresService {

    @Autowired
    private StoredProceduresMapper storedProceduresMapper;


    @Override
    public void adjustInventory(String billId) {
        storedProceduresMapper.adjustInventory(billId);
    }

    @Override
    public void deductSupplierPayment(String billId) {
        storedProceduresMapper.deductSupplierPayment(billId);
    }
}
